<?php
class Session_ctrl extends CI_Controller{
	function __construct(){
		parent::__construct();
		//$this->load->library('session');
		//$this->load->model('welcome_model');
		//$this->load->helper('message');
		}
	/*function index(){
		$data['id'] = $this->session->userdata('Student_id');
		$data['value'] = $this->welcome_model->student_data();
		$this->load->view('welcome', $data);
	}*/
function index(){
	$this->load->view('vwHeader');
		$data['id'] = $this->session->userdata('id');
		$data['user_name'] = $this->session->userdata('user_name');
		$data['password'] = $this->session->userdata('password');
		$data['first_name'] = $this->session->userdata('first_name');
		$data['last_name'] = $this->session->userdata('last_name');
		$this->load->view('session', $data);
	$this->load->view('vwFooter');	
	}
	
}